package xyz.xtt.exchange.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema(name = "创建订单对象", description = "创建订单对象")
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class OrderRequest {
	@Schema(description = "商品id")
	@NotNull(message = "商品id不能为空")
	@NotBlank(message = "商品id不能为空")
	private String goodsId;
}
